<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $html->charset(); ?>
	<title>
		<?php echo Configure::read('cmsConfig.Backend.siteName'); ?> :: 
		<?php echo $title_for_layout;?>
	</title>
	<script>
	var URL='<?php echo Configure::read("cmsConfig.Backend.siteUrl");?>/';
	</script>
	<?php
		echo $javascript->link(array('/cms/js/jquery.js','/cms/js/main.js','/cms/js/jquery.alerts.js'));
		echo $html->meta('icon');
		echo $html->meta('keywords',$meta_keywords);
		echo $html->meta('description',$meta_description);
		echo $html->defaultCss();
		//echo $html->css('style');
		echo $html->css('/cms/css/popup');
		echo $javascript->getCompressedJs();
		echo $scripts_for_layout;
		echo $html->getCompressedCss();
		echo $startup_js;
	?>

</head>
<body>

	<div class="popup">
	<?php
		if ($session->check('Message.flash')):
			$session->flash();
		endif;
	?>
	<?php echo $content_for_layout;?>
	</div>
	<?php echo $cakeDebug?>
</body>
</html>